package org.osite.xml;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention (RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface XmlAttribute {

    public String value() default "";

    @SuppressWarnings("unchecked")
    public Class<? extends AttributeHandler> handler()
            default AttributeHandler.class;

    @SuppressWarnings("unchecked")
    public Class<? extends AttributeConverter> convertor()
            default AttributeConverter.class;
}
